package pl.edu.agh.sius;

import java.util.ArrayList;
import java.util.List;

import javax.xml.ws.BindingProvider;

import pl.edu.agh.ode.helloworld.HelloWorld;
import pl.edu.agh.ode.helloworld.HelloWorldRequest;
import pl.edu.agh.ode.helloworld.HelloWorldResponse;
import pl.edu.agh.ode.helloworld.HelloWorldService;

/**
 * Hello world!
 *
 */
public class WSClient 
{
    public static void main( String[] args )
    {
        
    	HelloWorld hw=new HelloWorldService().getHelloWorldPort();
    	HelloWorldRequest hwr=new HelloWorldRequest();
    	hwr.getArgument().add("arg1");
    	hwr.getArgument().add("arg2");
    	HelloWorldResponse hr=hw.process(hwr);
    	System.out.println(hr.getResult());
    	
    
    }
}
